package com.bootdo.wx.service.impl;

import com.bootdo.wx.dao.ShopExpressDetailsDao;
import com.bootdo.wx.domain.ShopExpressDetailsDO;
import com.bootdo.wx.service.ShopExpressDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ShopExpressDetailsServiceImpl implements ShopExpressDetailsService {
	@Autowired
	private ShopExpressDetailsDao shopExpressDetailsDao;
	
	@Override
	public ShopExpressDetailsDO get(String id){
		return shopExpressDetailsDao.get(id);
	}
	
	@Override
	public List<ShopExpressDetailsDO> list(Map<String, Object> map){
		return shopExpressDetailsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return shopExpressDetailsDao.count(map);
	}
	
	@Override
	public int save(ShopExpressDetailsDO shopExpressDetails){
		return shopExpressDetailsDao.save(shopExpressDetails);
	}
	
	@Override
	public int update(ShopExpressDetailsDO shopExpressDetails){
		return shopExpressDetailsDao.update(shopExpressDetails);
	}
	
	@Override
	public int remove(String id){
		return shopExpressDetailsDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return shopExpressDetailsDao.batchRemove(ids);
	}
	
}
